package com.yesallchina.wxapp.officialaccount.api.beans;



import com.yesallchina.wxapp.officialaccount.api.enums.MessageEventTypeEnum;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "xml")
public class LocationMessage extends Message {
    private String Location_X;
    private String Location_Y;
    private Long Scale;
    private String Label;

    public LocationMessage() {
        super();
        super.setMsgType(MessageEventTypeEnum.LOCATION.getMsgType());
    }

    public LocationMessage(String location_X, String location_Y, Long scale,
                           String label) {
        super();
        super.setMsgType(MessageEventTypeEnum.LOCATION.getMsgType());
        Location_X = location_X;
        Location_Y = location_Y;
        Scale = scale;
        Label = label;
    }

    @XmlElement(name = "Location_X")
    public String getLocation_X() {
        return Location_X;
    }

    public void setLocation_X(String location_X) {
        Location_X = location_X;
    }

    @XmlElement(name = "Location_Y")
    public String getLocation_Y() {
        return Location_Y;
    }

    public void setLocation_Y(String location_Y) {
        Location_Y = location_Y;
    }

    @XmlElement(name = "Scale")
    public Long getScale() {
        return Scale;
    }

    public void setScale(Long scale) {
        Scale = scale;
    }

    @XmlElement(name = "Label")
    public String getLabel() {
        return Label;
    }

    public void setLabel(String label) {
        Label = label;
    }

}
